package com.fan.service.Impl;

import com.fan.entity.Report;
import com.fan.mapper.ReportMapper;
import com.fan.service.ReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReportServiceImpl implements ReportService {

    @Autowired
    private ReportMapper reportMapper;

    @Override
    public int newReport(Report report) {
        return reportMapper.newReport(report);
    }
}
